package br.com.pim.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import br.com.pim.model.FornecedorModel;
import br.com.pim.model.MarcaModel;

public class MarcaForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private MarcaModel marca;

	
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		if (marca == null) {
			this.marca = new MarcaModel();
			marca.setCdFornecedor(new FornecedorModel());
		}
	}

	public MarcaModel getMarca() {
		return marca;
	}

	public void setMarca(MarcaModel marca) {
		this.marca = marca;
	}
	
	
	
}
